﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MpSoft.Library.BUSS.Categories;
using MpSoft.Library.BUSS.Settings;

namespace MpSoft.Web.Controls.Blocks
{
    public partial class LeftControl : System.Web.UI.UserControl
    {
        #region Var
        #endregion

        #region Method

        protected string getMenuLeft()
        {
            return MenuBUSS.GetByMenuID(0, "menu-left");
        }

        protected string GetSetting(string key)
        {
            return SettingBUSS.GetSettingValue(key);
        }

        private void BindControl()
        {
            //AdvDocument.RegionID = 4;
            AdvRegion.RegionID = 2;
        }

        #endregion

        #region Event
        
        protected void Page_Load(object sender, EventArgs e)
        {
            BindControl();
        }
        #endregion

        #region Properties
        #endregion
    }
}